package com.wyz.model.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: 无涯子
 * @Date: 2023年5月14日14
 * @Description: Person实体类
 */
@Data
@TableName(value = "person")
public class Person {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "出生日期")
    private Date birthDay;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    private String IdCard;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "电话号码")
    private String tel;


    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleteFlag;
}
